export interface ImailList {
    createAt: string
    from: string
    html: string
    id: string
    subject: string
    text: null
    to: string

}

export interface IsearchList {
    count: number
    createAt: string
    id: string
    keyword: string
    type: string
    updateAt: string
}

export interface IfileList {
    createAt: string
    filename:string
    id: string
    originalname: string
    size: number
    type: string
    url:string
}


export interface IAll {
    id: string;
    title: string;
    cover?: string;
    summary?: string;
    content: string;
    html: string;
    toc: string;
    status: string;
    views: number;
    likes: number;
    isRecommended: boolean;
    needPassword: boolean;
    isCommentable: boolean;
    publishAt: string;
    createAt: string;
    updateAt: string;
    tags: Tag[];
    category?: Tag;
  }
  
  interface Tag {
    id: string;
    label: string;
    value: string;
    createAt: string;
    updateAt: string;
  }
